package com.yyc.bleem.feignclient;

import com.yyc.bleem.pojo.entity.ResponseEntity;
import com.yyc.bleem.feignclient.config.FeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "microProviderService",url = "${feign-url.providerUrl}",configuration = FeignConfig.class)
public interface MicroProviderClient {

    /**
     * 查询用户信息
     * @return ResponseEntity<Integer> 用户信息
     */
    @PostMapping(value = "/user/searchPage")
    ResponseEntity<Object> searchPage();
}
